package fox.framework.rpc.server.dispatcher.invoke;

import fox.framework.rpc.server.message.request.RpcServerRequest;
import fox.framework.rpc.server.message.response.RpcServerResponse;

/**
 * Rpc服务方法执行器
 * @author cuichao
 * @Description: ProvideInvoker
 * @Date: create in 2021/1/12 20:35
 */
public interface ProvideInvoker {

    /**
     * @param chain
     * @param request
     * @return
     * @throws Exception
     */
    void  doInvoke(ProvideInvokerChain chain, RpcServerRequest request, RpcServerResponse response) throws Throwable;


}
